﻿using System;
using System.Drawing;

namespace ru.yourpictures.Core.Imaging.Filters
{
    public interface IFilter
    {
        /// <summary>
        /// Processing passed image
        /// </summary>
        /// <param name="b"></param>
        void Apply(Bitmap b);

        /// <summary>
        /// Preserve argument image. Make copy of it, process it and return.
        /// </summary>
        /// <param name="b"></param>
        /// <returns></returns>
        Bitmap Convert(Bitmap b);
    }
}
